package mx.com.switz.service.Impl;

import java.util.List;
import mx.com.switz.dao.CanastaDao;
import mx.com.switz.dto.Canasta;
import mx.com.switz.service.CanastaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CanastaServiceImpl implements CanastaService {

    @Autowired
    public CanastaDao canastaDao;

    public void insertCanasta(Canasta canasta) {
        canastaDao.insertCanasta(canasta);
    }

    public List findCanasta(Canasta canasta) {
        return canastaDao.selectCanasta(canasta);

    }
}
